package old.resourceCache;


public class SoundResource {
	
	private String name;
	private SoundResHandle handle;
	
	public SoundResource(String name){
		this.name = name;
	}
	
	public SoundResHandle CreateHandle(char buffer, int size, ResCache resCache) {
		return handle = new SoundResHandle(this, buffer, size, resCache);
	}
	
	
	public SoundResHandle getHandle() {
		return handle;
	}
	
	public String getName() {
		return name;
	}
	
}
